startBtn.onclick = function () {
    //隐藏开始页
    startPage.style.display = 'none'
    bodys = []
    开始游戏()
}

restart.onclick = function () {
    score = 0;
    scoreLable.innerText = score;
    resultPage.style.display = 'none'

    // 清空游戏层
    gameSprites.innerHTML = ""
    bodys = []
    开始游戏()
}

